package com.wwj.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "t_order")
public class Order {
    @TableId(value = "orderId", type = IdType.INPUT)
    private Integer orderid;

    @TableField(value = "pid")
    private Integer pid;

    @TableField(value = "userId")
    private Integer userid;

    @TableField(value = "state")
    private Integer state;

    public static final String COL_ORDERID = "orderId";

    public static final String COL_PID = "pid";

    public static final String COL_USERID = "userId";

    public static final String COL_STATE = "state";
}